home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / toolbook / minispy.zip / ASSIGN.SBK (.txt) next >
Asymetrix ToolBook File  |  1993-08-19  |  53KB  |  1,527 lines

  1. assignments
  2. assignment2
  3. B    assignmentList
  4. assignment6
  5. assignment5
  6. assignment4
  7. assignment3
  8. AnythingGoes
  9. InsertPages
  10. DeleteThisPage
  11. CutThisPage
  12. CopyThisPage
  13. DuplicateThisPage
  14. copyTarget
  15. assignment2
  16. assignment1
  17. FindObjectByType
  18. FindObjectByName
  19. ObjectsOfThisPage
  20. tms rmn
  21. test2
  22. test3
  23. test4
  24. assignment3
  25. assignment4
  26. assignment5
  27. assignment6
  28. System
  29. tms rmn
  30. tms rmn
  31. showmenubar
  32. buttonUpToSelection
  33. assignment6
  34. assignment5
  35. assignment4
  36. assignment3
  37. AnythingGoes
  38. InsertPages
  39. DeleteThisPage
  40. CutThisPage
  41. CopyThisPage
  42. DuplicateThisPage
  43. copyTarget
  44. assignment2
  45. assignment1
  46. FindObjectByType
  47. FindObjectByName
  48. ObjectsOfThisPage
  49. _GetCommandWindow
  50. _MiniSpy_HELP
  51. _Assign_HELP
  52. CloneClusterIntoN
  53. CloneCluster
  54. CloneSelection
  55. CloneTarget
  56. ExecuteCommand
  57. showmenubar
  58. buttonUpToSelection
  59. InsertPages
  60. DeleteThisPage
  61. CutThisPage
  62. CopyThisPage
  63. DuplicateThisPage
  64. copyTarget
  65. FindObjectByType
  66. FindObjectByName
  67. ObjectsOfThisPage
  68. y_HELP
  69. _Assign_HELP
  70. CloneClusterIntoN
  71. CloneCluster
  72. CloneSelection
  73. CloneTarget
  74. ExecuteCommand
  75. showmenubar
  76. buttonUpToSelection
  77. InsertPages
  78. DeleteThisPage
  79. CutThisPage
  80. CopyThisPage
  81. DuplicateThisPage
  82. copyTarget
  83. FindObjectByType
  84. FindObjectByName
  85. ObjectsOfThisPage
  86. GetCommandWindow
  87. _MiniSpy_HELP
  88. _Assign_HELP
  89. CloneClusterIntoN
  90. CloneCluster
  91. CloneSelection
  92. CloneTarget
  93. ExecuteCommand
  94. showmenubar
  95. buttonUpToSelection
  96. InsertPages
  97. DeleteThisPage
  98. CutThisPage
  99. CopyThisPage
  100. DuplicateThisPage
  101. copyTarget
  102. FindObjectByType
  103. FindObjectByName
  104. ObjectsOfThisPage
  105. assignment6
  106. PageSavedInMWS
  107. Assign code
  108. MKcopyInfo
  109. 3,C:\HJS\X-DEV\X-UTIL\ASSIGN.SBK
  110. ,;Ba*
  111. testing only"
  112. buttonUp
  113. buttonUp
  114. for testing only
  115. Current Assignments:
  116. assignment5
  117. assignment4
  118. assignment3
  119. AnythingGoes
  120. InsertPages
  121. DeleteThisPage
  122. CutThisPage
  123. CopyThisPage
  124. DuplicateThisPage
  125. copyTarget
  126. assignment2
  127. assignment1
  128. FindObjectByType
  129. FindObjectByName
  130. ObjectsOfThisPage
  131. EditAssignments
  132. "Do you want me 
  133. update the assignment list?" 
  134.         "&Yes" OR "&No"
  135. "yes" 
  136. processAssignments
  137. buttonUp
  138. buttonUp
  139. Do you want me to update the assignment list?
  140. FprocessAssignments
  141. Edit Assignments
  142. UpdateAssignments
  143. ProcessAssignments
  144. buttonUp
  145. buttonUp
  146. FProcessAssignments
  147. Update Assignments
  148. progressReport
  149. Instructions
  150. 1'N%+
  151. "notepad.exe Assign2.txt"
  152. buttonUp
  153. buttonUp
  154. notepad.exe Assign2.txt
  155. Instructions
  156. currentAssignments
  157. PageSavedInMWS
  158. MiniSpy
  159. Assignment Depositoryy
  160. testing only"
  161. buttonUp
  162. buttonUp
  163. for testing only
  164. Current Assignments:
  165. assignment5
  166. assignment4
  167. assignment3
  168. AnythingGoes
  169. InsertPages
  170. DeleteThisPage
  171. CutThisPage
  172. CopyThisPage
  173. DuplicateThisPage
  174. copyTarget
  175. assignment2
  176. assignment1
  177. FindObjectByType
  178. FindObjectByName
  179. ObjectsOfThisPage
  180. EditAssignments
  181. "Do you want me 
  182. update the assignment list?" 
  183.         "&Yes" OR "&No"
  184. "yes" 
  185. processAssignments
  186. buttonUp
  187. buttonUp
  188. Do you want me to update the assignment list?
  189. FprocessAssignments
  190. Edit Assignments
  191. UpdateAssignments
  192. ProcessAssignments
  193. buttonUp
  194. buttonUp
  195. FProcessAssignments
  196. Update Assignments
  197. progressReport
  198. Instructions
  199. "notepad.exe Assign.txt"
  200. buttonUp
  201. buttonUp
  202. notepad.exe Assign.txt
  203. Instructions
  204. currentAssignments
  205. ... updating Assignmentsts
  206. ... updating Assignmentsts
  207. B"updateAssignments"
  208. enterPage
  209. enterPage
  210. buttonUp
  211. updateAssignments
  212. signment2
  213. assignment1
  214. FindObjectByType
  215. FindObjectByName
  216. ObjectsOfThisPage
  217. ... updating Assignmentsts
  218. GetCommandWindow
  219. _MiniSpy_HELP
  220. _Assign_HELP
  221. CloneClusterIntoN
  222. CloneCluster
  223. CloneSelection
  224. CloneTarget
  225. ExecuteCommand
  226. showmenubar
  227. buttonUpToSelection
  228. InsertPages
  229. DeleteThisPage
  230. CutThisPage
  231. CopyThisPage
  232. DuplicateThisPage
  233. copyTarget
  234. FindObjectByType
  235. FindObjectByName
  236. ObjectsOfThisPagee
  237.  assignmentList 
  238. "currentAssignments" 
  239. B"updateAssignments"
  240. enterPage
  241. enterPage
  242. assignmentList
  243. currentAssignments
  244. buttonUp
  245. updateAssignments
  246.  call like 
  247. --        "
  248. ( example, 
  249. %a distributor:
  250. --            
  251. myOwnWrapAroundFunction
  252. specialHandlerCall 
  253. 8"c:\xyz\q\abc.
  254. RETURN TRUE
  255. --            
  256. ObjectsOfThisPage
  257. [objList
  258. ) & CRLF
  259. :" & 
  260. FindObjectByName
  261. 4s_lastObjName
  262.     Ask "
  263. retName 
  264. 8, etc
  265. [foundObj
  266. tempObjList 
  267. <> NULL
  268. 2 ) = 
  269. "There 
  270. p" && \
  271.         QUOTE & 
  272.     & "on 
  273. p" && 
  274. 5":" \
  275.             & 
  276. FindObjectByType
  277. 4s_lastObjType
  278. type:" 
  279.  ) = 
  280. " && 
  281. & "on 
  282. " && 
  283. ":" \
  284. "The 
  285. " && 
  286. & "does 
  287. xexist."
  288. assignment1
  289. assignment2
  290. copyTarget targetObj
  291. DuplicateThisPage
  292. Paste
  293. CopyThisPage
  294. CutThisPage
  295. DeleteThisPage
  296.     Request "Are 
  297. sure 
  298. delete 
  299. ?" && \
  300. cannot be reversed." 
  301. f"&Ok" 
  302. "&Cancel"
  303. c"ok"
  304. InsertPages
  305.  how 
  306. urrent 
  307. AnythingGoes
  308. "What 
  309. think 
  310. means?"
  311. assignment3
  312. assignment4
  313. assignment5
  314. assignment6
  315. ProcessAssignments
  316.     --    I'm 
  317. , so 
  318. won't be
  319.     --    listed 
  320. regular 
  321. "progressReport" 
  322. "... processing 
  323. [assignments
  324. tempScr 
  325. 6)) = "
  326. " ) AND \
  327.             ( ( 
  328. \)) = "
  329.             & 
  330. "... updating 
  331. tempChr 
  332. CR & "," & 
  333.  & "," & LF
  334. "currentAssignments" 
  335. buttonUpToSelection
  336. ProcessAssignments
  337. assignment2
  338. copyTarget
  339. DuplicateThisPage
  340. FindObjectByName
  341. CopyThisPage
  342. CutThisPage
  343. FindObjectByType
  344. DeleteThisPage
  345. InsertPages
  346. AnythingGoes
  347. assignment1
  348. assignment3
  349. assignment4
  350. ObjectsOfThisPage
  351. assignment5
  352. assignment6
  353. buttonUpToSelection
  354. ObjectsOfThisPage
  355. Objects of this page:
  356. objList
  357. FindObjectByName
  358. Find object with name:
  359. group
  360. There is no object with name
  361. on this page.
  362. Objects with name
  363. tempObj
  364. tempObjList
  365. foundObj
  366. retName
  367. s_lastObjName
  368. FindObjectByType
  369. button,field,page,background,rectangle,recordfield
  370. Find all objects of type:
  371. group
  372. There is no object of type
  373. on this page.
  374. Objects of type
  375. The object type
  376. does not exist.
  377. tempObj
  378. tempObjList
  379. foundObj
  380. retName
  381. s_lastObjType
  382. objList
  383. assignment1
  384. buttonUp
  385. assignment2
  386. copyTarget
  387. targetObj
  388. DuplicateThisPage
  389. Paste
  390. CopyThisPage
  391. CutThisPage
  392. DeleteThisPage
  393. Are you sure you want to delete this page?
  394. This process cannot be reversed.
  395. &Cancel
  396. clear
  397. InsertPages
  398. Insert how many pages after the current page?
  399. y5newPage
  400. AnythingGoes
  401. What do you think this means?
  402. assignment3
  403. assignment4
  404. assignment5
  405. assignment6
  406. ProcessAssignments
  407. progressReport
  408. ... processing Assignments
  409. assign.sbk
  410. progressReport
  411. ... updating Assignments
  412. assignmentList
  413. currentAssignments
  414. progressReport
  415. tempChr
  416. tempScr
  417. assignments
  418. buttonUpToSelection
  419. buttonUp
  420. Please select an object first.
  421.         Book Script 
  422. "Assign.sbk",
  423.         the companion 
  424. "MiniSpy.
  425.         Developer Utility
  426. --        Jurgen Sladeczek
  427. --        Copyright 1993
  428. --        All Rights Reserved
  429. --        Source Code Version 2.0
  430. --        Release 
  431. r: July 22, 1993
  432. --        Description:
  433. --            * Contains 
  434. ustomizable list 
  435. user defined functions that are accessible
  436. 's main dialogbox
  437. --        History + Known problems:
  438. --            In Books 
  439. flarge scripts, 
  440. fmany 
  441. --            lots 
  442. contents), ToolBook may display a "memory 
  443. --            message (repeatedly). Just click on OK (
  444. --            dismiss 
  445. --        Contact address 
  446. comments 
  447. suggestions:
  448. --            
  449. --            100 D Stinson St.
  450. --            Chapel Hill, NC 27514
  451. --        How 
  452. use ASSIGN.sbk:
  453. --        (As 
  454. lengthy 
  455. describe, but
  456. --        easily done!)
  457. --        TO RUN A SCRIPT VIA MINISPY:
  458. --            Assuming 
  459. already installed, 
  460. --            
  461. mousebutton 
  462. bring up 
  463. --            (If you 
  464. 't have 
  465. U yet, 
  466. --            
  467. Install 
  468. Bprovided there).
  469. --            Double-Click on 
  470. hand side, 
  471. --            
  472. want 
  473. . (Or 
  474. --            
  475. "Execute" 
  476. --        TO ADD YOUR OWN 
  477. TO THE LIST:
  478. "Edit Assignments" 
  479. B. This will 
  480. 2: Write 
  481.  handler 
  482. your 
  483. . Remember 
  484. always write 
  485. form 
  486. K. (You can 
  487. handlers, but they 
  488. ignored 
  489. ilation 
  490. assignment 
  491. 3:    After 
  492. choose "Save-
  493. ", a 
  494. prompt 
  495. whether 
  496. update 
  497. . Choose "Yes", 
  498. just added a 
  499. pNo" 
  500. edited 
  501. existing 
  502. --        Note: 
  503. de below, 
  504. can't teach
  505. directly via 
  506. --        However, 
  507. find situations, where 
  508. absolutely need 
  509. DIRECTLY, I would like 
  510. know.
  511. --        (I 
  512. imagine such a 
  513. 's why I didn't
  514. --        include 
  515. capability).
  516. --        If 
  517. some other 
  518. don't
  519. convert 
  520. , try 
  521. a "wrap-around"
  522.  call 
  523. --        "Wrap-
  524. % example, 
  525. %a distributor:
  526. --            
  527. myOwnWrapAroundFunction
  528. specialHandlerCall 
  529. 8"c:\xyz\q\abc.
  530. RETURN TRUE
  531. --            
  532. --        Then 
  533. be listed 
  534. Hexecuting 
  535. immediately 
  536.     bookscript 
  537. 8"c:\
  538. --        Below 
  539. (rather simple) sample 
  540. ObjectsOfThisPage
  541. [objList
  542. ) & CRLF
  543. "Top-level 
  544. :" & 
  545. FindObjectByName
  546. 4s_lastObjName
  547.     Ask "
  548. retName 
  549. 8, etc
  550. [foundObj
  551. tempObjList 
  552. <> NULL
  553. 2 ) = 
  554. "There 
  555. p" && \
  556.         QUOTE & 
  557.     & "on 
  558. p" && 
  559. 5":" \
  560.             & 
  561. FindObjectByType
  562. 4s_lastObjType
  563. type:" 
  564.  ) = 
  565. " && 
  566. & "on 
  567. " && 
  568. ":" \
  569. ) > 0
  570. "The 
  571. {TYPE" && 
  572. & "does 
  573. copyTarget targetObj
  574. DuplicateThisPage
  575. Paste
  576. CopyThisPage
  577. CutThisPage
  578. DeleteThisPage
  579.     Request "Are 
  580. sure 
  581. delete 
  582. ?" && \
  583.     process cannot be reversed." 
  584. f"&Ok" 
  585. "&Cancel"
  586. c"ok"
  587. InsertPages
  588.  how 
  589. urrent 
  590. ProcessAssignments
  591.     --    I'm 
  592. , so 
  593. won't be
  594. regular 
  595. "progressReport" 
  596. "... processing 
  597. [assignments
  598. tempScr 
  599. 8MiniSpyPathToAssign()
  600. D)) = "
  601. " ) AND \
  602.             ( ( 
  603. j)) = "
  604.             & 
  605. "... updating 
  606. tempChr 
  607. CR & "," & 
  608.  & "," & LF
  609. assignmentList 
  610. "currentAssignments" 
  611. buttonUpToSelection
  612. "Please 
  613. showmenubar
  614. ExecuteCommand
  615. cgive me 
  616. OpenScript 
  617. CloneTarget obj
  618. CloneSelection
  619. tempItem1 
  620. U + dx
  621. tempItem2 
  622. r + dx
  623. tempItem3 
  624.  + dx
  625. tempItem4 
  626.  + dx
  627. CloneCluster 
  628. clones a whole hierarchy 
  629. }, going up 
  630. topLevelObj 
  631. c NOT ( 
  632. q + dx
  633.  + dx
  634.  + dx
  635.  + dx
  636. CloneClusterIntoN obj
  637. copies 
  638. N < 1 
  639.  + i*dx
  640.  + i*dx
  641. obj + i*dx
  642. _Assign_HELP
  643. tempPath 
  644. '<> "\" )
  645. "notepad.exe" && 
  646. .txt"
  647. _MiniSpy_HELP
  648. <> "\" )
  649. & "minispy.
  650. GetCommandWindow
  651. sAssignments
  652. ProcessAssignments
  653. ThisPage
  654. CopyThisPage
  655. CutThisPage
  656. FindObjectByName
  657. DeleteThisPage
  658. InsertPages
  659. FindObjectByType
  660. buttonUpToSelection
  661. showmenubar
  662. ExecuteCommand
  663. copyTarget
  664. CloneTarget
  665. CloneSelection
  666. ObjectsOfThisPage
  667. CloneCluster
  668. CloneClusterIntoN
  669. _Assign_HELP
  670. DuplicateThisPage
  671. _MiniSpy_HELP
  672. GetCommandWindow
  673. ObjectsOfThisPage
  674. Top-level objects of this page:
  675. objList
  676. FindObjectByName
  677. Find object with name:
  678. group
  679. There is no object with name
  680. on this page.
  681. Objects with name
  682. tempObj
  683. tempObjList
  684. foundObj
  685. retName
  686. s_lastObjName
  687. FindObjectByType
  688. button,field,page,background,rectangle,recordfield
  689. Find all objects of type:
  690. group
  691. There is no object of type
  692. on this page.
  693. Objects of type
  694. The object TYPE
  695. does not exist.
  696. tempObj
  697. tempObjList
  698. foundObj
  699. retName
  700. s_lastObjType
  701. objList
  702. copyTarget
  703. targetObj
  704. DuplicateThisPage
  705. Paste
  706. CopyThisPage
  707. CutThisPage
  708. DeleteThisPage
  709. Are you sure you want to delete this page?
  710. This process cannot be reversed.
  711. &Cancel
  712. clear
  713. InsertPages
  714. Insert how many pages after the current page?
  715. y5newPage
  716. ProcessAssignments
  717. progressReport
  718. ... processing Assignments
  719. MiniSpyPathToAssign
  720. progressReport
  721. ... updating Assignments
  722. assignmentList
  723. currentAssignments
  724. progressReport
  725. tempChr
  726. tempScr
  727. assignments
  728. buttonUpToSelection
  729. buttonUp
  730. Please select an object first.
  731. showmenubar
  732. ExecuteCommand
  733. Please give me the OpenScript command to execute:
  734. CloneTarget
  735. paste
  736. CloneSelection
  737. paste
  738. tempItem4
  739. tempItem3
  740. tempItem2
  741. tempItem1
  742. CloneCluster
  743. background
  744. paste
  745. tempItem4
  746. tempItem3
  747. tempItem2
  748. tempItem1
  749. topLevelObj
  750. CloneClusterIntoN
  751. How many copies would you like?
  752. cancel
  753. background
  754. paste
  755. tempItem4
  756. tempItem3
  757. tempItem2
  758. tempItem1
  759. topLevelObj
  760. _Assign_HELP
  761. MiniSpyPathToAssign
  762. notepad.exe
  763. assign.txt
  764. tempPath
  765. _MiniSpy_HELP
  766. MiniSpyPathToAssign
  767. notepad.exe
  768. minispy.txt
  769. tempPath
  770. GetCommandWindow
  771. Q.command
  772. y5newPage
  773. ProcessAssignments
  774. progressReport
  775. ... processing Assignments
  776. MiniSpyPathToAssign
  777. progressReport
  778. ... updating Assignments
  779. assignmentList
  780. currentAssignments
  781. progressReport
  782. tempChr
  783. tempScr
  784. assignments
  785. buttonUpToSelection
  786. buttonUp
  787. Please select an object first.
  788. showmenubar
  789. ExecuteCommand
  790. Please give me the OpenScript command to execute:
  791. CloneTarget
  792. paste
  793. CloneSelection
  794. paste
  795. tempItem4
  796. tempItem3
  797. tempItem2
  798. tempItem1
  799. CloneCluster
  800. background
  801. paste
  802. tempItem4
  803. tempItem3
  804. tempItem2
  805. tempItem1
  806. topLevelObj
  807. CloneClusterIntoN
  808. How many copies would you like?
  809. cancel
  810. background
  811. paste
  812. tempItem4
  813. tempItem3
  814. tempItem2
  815. tempItem1
  816. topLevelObj
  817. _Assign_HELP
  818. MiniSpyPathToAssign
  819. notepad.exe
  820. assign.txt
  821. tempPath
  822. _MiniSpy_HELP
  823. MiniSpyPathToAssign
  824. notepad.exe
  825. minispy.txt
  826. tempPath
  827. _RUNaBook
  828. _GetCommandWindow
  829. Q.command
  830.         Book Script 
  831. "Assign.sbk",
  832.         the companion 
  833. "MiniSpy.
  834.         Developer Utility
  835. --        Jurgen Sladeczek
  836. --        Copyright 1993
  837. --        All Rights Reserved
  838. --        Source Code Version 2.0
  839. --        Release 
  840. r: July 22, 1993
  841. --        Description:
  842. --            * Contains 
  843. ustomizable list 
  844. user defined functions that are accessible
  845. 's main dialogbox
  846. --        History + Known problems:
  847. --            In Books 
  848. flarge scripts, 
  849. fmany 
  850. --            lots 
  851. contents), ToolBook may display a "memory 
  852. --            message (repeatedly). Just click on OK (
  853. --            dismiss 
  854. --        Contact address 
  855. comments 
  856. suggestions:
  857. --            
  858. --            100 D Stinson St.
  859. --            Chapel Hill, NC 27514
  860. --        How 
  861. use ASSIGN.sbk:
  862. --        (As 
  863. lengthy 
  864. describe, but
  865. --        easily done!)
  866. --        TO RUN A SCRIPT VIA MINISPY:
  867. --            Assuming 
  868. already installed, 
  869. --            
  870. mousebutton 
  871. bring up 
  872. --            (If you 
  873. 't have 
  874. U yet, 
  875. --            
  876. Install 
  877. Bprovided there).
  878. --            Double-Click on 
  879. hand side, 
  880. --            
  881. want 
  882. . (Or 
  883. --            
  884. "Execute" 
  885. --        TO ADD YOUR OWN 
  886. TO THE LIST:
  887. "Edit Assignments" 
  888. B. This will 
  889. 2: Write 
  890.  handler 
  891. your 
  892. . Remember 
  893. always write 
  894. form 
  895. K. (You can 
  896. handlers, but they 
  897. ignored 
  898. ilation 
  899. assignment 
  900. 3:    After 
  901. choose "Save-
  902. ", a 
  903. prompt 
  904. whether 
  905. update 
  906. . Choose "Yes", 
  907. just added a 
  908. pNo" 
  909. edited 
  910. existing 
  911. --        Note: 
  912. de below, 
  913. can't teach
  914. directly via 
  915. --        However, 
  916. find situations, where 
  917. absolutely need 
  918. DIRECTLY, I would like 
  919. know.
  920. --        (I 
  921. imagine such a 
  922. 's why I didn't
  923. --        include 
  924. capability).
  925. --        If 
  926. some other 
  927. don't
  928. convert 
  929. , try 
  930. a "wrap-around"
  931.  call 
  932. --        "Wrap-
  933. % example, 
  934. %a distributor:
  935. --            
  936. myOwnWrapAroundFunction
  937. specialHandlerCall 
  938. 8"c:\xyz\q\abc.
  939. RETURN TRUE
  940. --            
  941. --        Then 
  942. be listed 
  943. Hexecuting 
  944. immediately 
  945.     bookscript 
  946. 8"c:\
  947. --        Below 
  948. (rather simple) sample 
  949. ObjectsOfThisPage
  950. [objList
  951. ) & CRLF
  952. "Top-level 
  953. :" & 
  954. FindObjectByName
  955. 4s_lastObjName
  956.     Ask "
  957. retName 
  958. 8, etc
  959. [foundObj
  960. tempObjList 
  961. <> NULL
  962. 2 ) = 
  963. "There 
  964. p" && \
  965.         QUOTE & 
  966.     & "on 
  967. p" && 
  968. 5":" \
  969.             & 
  970. FindObjectByType
  971. 4s_lastObjType
  972. type:" 
  973.  ) = 
  974. " && 
  975. & "on 
  976. " && 
  977. ":" \
  978. ) > 0
  979. "The 
  980. {TYPE" && 
  981. & "does 
  982. copyTarget targetObj
  983. DuplicateThisPage
  984. Paste
  985. CopyThisPage
  986. CutThisPage
  987. DeleteThisPage
  988.     Request "Are 
  989. sure 
  990. delete 
  991. ?" && \
  992.     process cannot be reversed." 
  993. f"&Ok" 
  994. "&Cancel"
  995. c"ok"
  996. InsertPages
  997.  how 
  998. urrent 
  999. ProcessAssignments
  1000.     --    I'm 
  1001. , so 
  1002. won't be
  1003. regular 
  1004. "progressReport" 
  1005. "... processing 
  1006. [assignments
  1007. tempScr 
  1008. 8MiniSpyPathToAssign()
  1009. D)) = "
  1010. " ) AND \
  1011.             ( ( 
  1012. j)) = "
  1013.             & 
  1014. "... updating 
  1015. tempChr 
  1016. CR & "," & 
  1017.  & "," & LF
  1018. assignmentList 
  1019. "currentAssignments" 
  1020. buttonUpToSelection
  1021. "Please 
  1022. showmenubar
  1023. ExecuteCommand
  1024. cgive me 
  1025. OpenScript 
  1026. CloneTarget obj
  1027. CloneSelection
  1028. tempItem1 
  1029. U + dx
  1030. tempItem2 
  1031. r + dx
  1032. tempItem3 
  1033.  + dx
  1034. tempItem4 
  1035.  + dx
  1036. CloneCluster 
  1037. clones a whole hierarchy 
  1038. }, going up 
  1039. topLevelObj 
  1040. c NOT ( 
  1041. q + dx
  1042.  + dx
  1043.  + dx
  1044.  + dx
  1045. CloneClusterIntoN obj
  1046. copies 
  1047. N < 1 
  1048.  + i*dx
  1049.  + i*dx
  1050. obj + i*dx
  1051. _Assign_HELP
  1052. tempPath 
  1053. '<> "\" )
  1054. "notepad.exe" && 
  1055. .txt"
  1056. _MiniSpy_HELP
  1057. <> "\" )
  1058. & "minispy.
  1059. _GetCommandWindow
  1060. sAssignments
  1061. ProcessAssignments
  1062. ThisPage
  1063. CopyThisPage
  1064. CutThisPage
  1065. FindObjectByName
  1066. DeleteThisPage
  1067. InsertPages
  1068. FindObjectByType
  1069. buttonUpToSelection
  1070. showmenubar
  1071. ExecuteCommand
  1072. copyTarget
  1073. CloneTarget
  1074. CloneSelection
  1075. ObjectsOfThisPage
  1076. CloneCluster
  1077. CloneClusterIntoN
  1078. _Assign_HELP
  1079. DuplicateThisPage
  1080. _MiniSpy_HELP
  1081. _GetCommandWindow
  1082. ObjectsOfThisPage
  1083. Top-level objects of this page:
  1084. objList
  1085. FindObjectByName
  1086. Find object with name:
  1087. group
  1088. There is no object with name
  1089. on this page.
  1090. Objects with name
  1091. tempObj
  1092. tempObjList
  1093. foundObj
  1094. retName
  1095. s_lastObjName
  1096. FindObjectByType
  1097. button,field,page,background,rectangle,recordfield
  1098. Find all objects of type:
  1099. group
  1100. There is no object of type
  1101. on this page.
  1102. Objects of type
  1103. The object TYPE
  1104. does not exist.
  1105. tempObj
  1106. tempObjList
  1107. foundObj
  1108. retName
  1109. s_lastObjType
  1110. objList
  1111. copyTarget
  1112. targetObj
  1113. DuplicateThisPage
  1114. Paste
  1115. CopyThisPage
  1116. CutThisPage
  1117. DeleteThisPage
  1118. Are you sure you want to delete this page?
  1119. This process cannot be reversed.
  1120. &Cancel
  1121. clear
  1122. InsertPages
  1123. Insert how many pages after the current page?
  1124. y5newPage
  1125. ProcessAssignments
  1126. progressReport
  1127. ... processing Assignments
  1128. MiniSpyPathToAssign
  1129. progressReport
  1130. ... updating Assignments
  1131. assignmentList
  1132. currentAssignments
  1133. progressReport
  1134. tempChr
  1135. tempScr
  1136. assignments
  1137. buttonUpToSelection
  1138. buttonUp
  1139. Please select an object first.
  1140. showmenubar
  1141. ExecuteCommand
  1142. Please give me the OpenScript command to execute:
  1143. CloneTarget
  1144. paste
  1145. CloneSelection
  1146. paste
  1147. tempItem4
  1148. tempItem3
  1149. tempItem2
  1150. tempItem1
  1151. CloneCluster
  1152. background
  1153. paste
  1154. tempItem4
  1155. tempItem3
  1156. tempItem2
  1157. tempItem1
  1158. topLevelObj
  1159. CloneClusterIntoN
  1160. How many copies would you like?
  1161. cancel
  1162. background
  1163. paste
  1164. tempItem4
  1165. tempItem3
  1166. tempItem2
  1167. tempItem1
  1168. topLevelObj
  1169. _Assign_HELP
  1170. MiniSpyPathToAssign
  1171. notepad.exe
  1172. assign.txt
  1173. tempPath
  1174. _MiniSpy_HELP
  1175. MiniSpyPathToAssign
  1176. notepad.exe
  1177. minispy.txt
  1178. tempPath
  1179. _GetCommandWindow
  1180. Q.command
  1181. --        Source Code Version 2.0
  1182. --        Release 
  1183. r: July 22, 1993
  1184. --        Description:
  1185. --            * Contains 
  1186. ustomizable list 
  1187. user defined functions that are accessible
  1188. 's main dialogbox
  1189. --        History + Known problems:
  1190. --            In Books 
  1191. flarge scripts, 
  1192. fmany 
  1193. --            lots 
  1194. contents), ToolBook may display a "memory 
  1195. --            message (repeatedly). Just click on OK (
  1196. --            dismiss 
  1197. --        Contact address 
  1198. comments 
  1199. suggestions:
  1200. --            
  1201. --            100 D Stinson St.
  1202. --            Chapel Hill, NC 27514
  1203. --        How 
  1204. use ASSIGN.sbk:
  1205. --        (As 
  1206. lengthy 
  1207. describe, but
  1208. --        easily done!)
  1209. --        TO RUN A SCRIPT VIA MINISPY:
  1210. --            Assuming 
  1211. already installed, 
  1212. --            
  1213. mousebutton 
  1214. bring up 
  1215. --            (If you 
  1216. 't have 
  1217. U yet, 
  1218. --            
  1219. Install 
  1220. Bprovided there).
  1221. --            Double-Click on 
  1222. hand side, 
  1223. --            
  1224. want 
  1225. . (Or 
  1226. --            
  1227. "Execute" 
  1228. --        TO ADD YOUR OWN 
  1229. TO THE LIST:
  1230. "Edit Assignments" 
  1231. B. This will 
  1232. 2: Write 
  1233.  handler 
  1234. your 
  1235. . Remember 
  1236. always write 
  1237. form 
  1238. K. (You can 
  1239. handlers, but they 
  1240. ignored 
  1241. ilation 
  1242. assignment 
  1243. 3:    After 
  1244. choose "Save-
  1245. ", a 
  1246. prompt 
  1247. whether 
  1248. update 
  1249. . Choose "Yes", 
  1250. just added a 
  1251. pNo" 
  1252. edited 
  1253. existing 
  1254. --        Note: 
  1255. de below, 
  1256. can't teach
  1257. directly via 
  1258. --        However, 
  1259. find situations, where 
  1260. absolutely need 
  1261. DIRECTLY, I would like 
  1262. know.
  1263. --        (I 
  1264. imagine such a 
  1265. 's why I didn't
  1266. --        include 
  1267. capability).
  1268. --        If 
  1269. some other 
  1270. don't
  1271. convert 
  1272. , try 
  1273. a "wrap-around"
  1274.  call 
  1275. --        "Wrap-
  1276. % example, 
  1277. %a distributor:
  1278. --            
  1279. myOwnWrapAroundFunction
  1280. specialHandlerCall 
  1281. 8"c:\xyz\q\abc.
  1282. RETURN TRUE
  1283. --            
  1284. --        Then 
  1285. be listed 
  1286. Hexecuting 
  1287. immediately 
  1288.     bookscript 
  1289. 8"c:\
  1290. --        Below 
  1291. (rather simple) sample 
  1292. ObjectsOfThisPage
  1293. [objList
  1294. ) & CRLF
  1295. "Top-level 
  1296. :" & 
  1297. FindObjectByName
  1298. 4s_lastObjName
  1299.     Ask "
  1300. retName 
  1301. 8, etc
  1302. [foundObj
  1303. tempObjList 
  1304. <> NULL
  1305. 2 ) = 
  1306. "There 
  1307. p" && \
  1308.         QUOTE & 
  1309.     & "on 
  1310. p" && 
  1311. 5":" \
  1312.             & 
  1313. FindObjectByType
  1314. 4s_lastObjType
  1315. type:" 
  1316.  ) = 
  1317. " && 
  1318. & "on 
  1319. " && 
  1320. ":" \
  1321. ) > 0
  1322. "The 
  1323. {TYPE" && 
  1324. & "does 
  1325. copyTarget targetObj
  1326. DuplicateThisPage
  1327. Paste
  1328. CopyThisPage
  1329. CutThisPage
  1330. DeleteThisPage
  1331.     Request "Are 
  1332. sure 
  1333. delete 
  1334. ?" && \
  1335.     process cannot be reversed." 
  1336. f"&Ok" 
  1337. "&Cancel"
  1338. c"ok"
  1339. InsertPages
  1340.  how 
  1341. urrent 
  1342. ProcessAssignments
  1343.     --    I'm 
  1344. , so 
  1345. won't be
  1346. regular 
  1347. "progressReport" 
  1348. "... processing 
  1349. [assignments
  1350. tempScr 
  1351. 8MiniSpyPathToAssign()
  1352. D)) = "
  1353. " ) AND \
  1354.             ( ( 
  1355. j)) = "
  1356.             & 
  1357. "... updating 
  1358. tempChr 
  1359. CR & "," & 
  1360.  & "," & LF
  1361. assignmentList 
  1362. "currentAssignments" 
  1363. buttonUpToSelection
  1364. "Please 
  1365. showmenubar
  1366. ExecuteCommand
  1367. cgive me 
  1368. OpenScript 
  1369. CloneTarget obj
  1370. CloneSelection
  1371. tempItem1 
  1372. U + dx
  1373. tempItem2 
  1374. r + dx
  1375. tempItem3 
  1376.  + dx
  1377. tempItem4 
  1378.  + dx
  1379. CloneCluster 
  1380. clones a whole hierarchy 
  1381. }, going up 
  1382. topLevelObj 
  1383. c NOT ( 
  1384. q + dx
  1385.  + dx
  1386.  + dx
  1387.  + dx
  1388. CloneClusterIntoN obj
  1389. copies 
  1390. N < 1 
  1391.  + i*dx
  1392.  + i*dx
  1393. obj + i*dx
  1394. _Assign_HELP
  1395. tempPath 
  1396. '<> "\" )
  1397. "notepad.exe" && 
  1398. .txt"
  1399. _MiniSpy_HELP
  1400. 9 minispy.
  1401. <> "\" )
  1402. _RUNaBook
  1403. _GetCommandWindow
  1404. sAssignments
  1405. ProcessAssignments
  1406. CopyThisPage
  1407. CutThisPage
  1408. FindObjectByName
  1409. DeleteThisPage
  1410. InsertPages
  1411. FindObjectByType
  1412. buttonUpToSelection
  1413. showmenubar
  1414. ExecuteCommand
  1415. copyTarget
  1416. CloneTarget
  1417. CloneSelection
  1418. ObjectsOfThisPage
  1419. CloneCluster
  1420. CloneClusterIntoN
  1421. _Assign_HELP
  1422. DuplicateThisPage
  1423. _MiniSpy_HELP
  1424. _RUNaBook
  1425. _GetCommandWindow
  1426. ObjectsOfThisPage
  1427. Top-level objects of this page:
  1428. objList
  1429. FindObjectByName
  1430. Find object with name:
  1431. group
  1432. There is no object with name
  1433. on this page.
  1434. Objects with name
  1435. tempObj
  1436. tempObjList
  1437. foundObj
  1438. retName
  1439. s_lastObjName
  1440. FindObjectByType
  1441. button,field,page,background,rectangle,recordfield
  1442. Find all objects of type:
  1443. group
  1444. There is no object of type
  1445. on this page.
  1446. Objects of type
  1447. The object TYPE
  1448. does not exist.
  1449. tempObj
  1450. tempObjList
  1451. foundObj
  1452. retName
  1453. s_lastObjType
  1454. objList
  1455. copyTarget
  1456. targetObj
  1457. DuplicateThisPage
  1458. Paste
  1459. CopyThisPage
  1460. CutThisPage
  1461. DeleteThisPage
  1462. Are you sure you want to delete this page?
  1463. This process cannot be reversed.
  1464. &Cancel
  1465. clear
  1466. InsertPages
  1467. Insert how many pages after the current page?
  1468. y5newPage
  1469. ProcessAssignments
  1470. progressReport
  1471. ... processing Assignments
  1472. MiniSpyPathToAssign
  1473. progressReport
  1474. ... updating Assignments
  1475. assignmentList
  1476. currentAssignments
  1477. progressReport
  1478. tempChr
  1479. tempScr
  1480. assignments
  1481. buttonUpToSelection
  1482. buttonUp
  1483. Please select an object first.
  1484. showmenubar
  1485. ExecuteCommand
  1486. Please give me the OpenScript command to execute:
  1487. CloneTarget
  1488. paste
  1489. CloneSelection
  1490. paste
  1491. tempItem4
  1492. tempItem3
  1493. tempItem2
  1494. tempItem1
  1495. CloneCluster
  1496. background
  1497. paste
  1498. tempItem4
  1499. tempItem3
  1500. tempItem2
  1501. tempItem1
  1502. topLevelObj
  1503. CloneClusterIntoN
  1504. How many copies would you like?
  1505. cancel
  1506. background
  1507. paste
  1508. tempItem4
  1509. tempItem3
  1510. tempItem2
  1511. tempItem1
  1512. topLevelObj
  1513. _Assign_HELP
  1514. MiniSpyPathToAssign
  1515. notepad.exe
  1516. assign.txt
  1517. tempPath
  1518. _MiniSpy_HELP
  1519. notepad.exe minispy.txt
  1520. MiniSpyPathToAssign
  1521. notepad.exe
  1522. minispy.txt
  1523. tempPath
  1524. _RUNaBook
  1525. _GetCommandWindow
  1526. Q.command
  1527.